Title: Final Fantasy IV - 3D Magic
Author: PowerPanda
Version: 1.0
Applies to: Final Fantasy IV Complete Collection (U), PSP

--------------------------------------------------------------------------------
-=Intro and Description=-
Final Fantasy IV has been released many times, and today, there are 2 main versions of it:
the 2D version and the 3D version. The 3D version took the liberty of expanding a few
characters' magic spell list to make them a bit more versatile. The 3 differences are:
1. Cecil gains Protect, Shell, and Life
2. Rydia, as a child, gains Confuse, Esuna, Cura, and Life
3. Edge gains 3 more Ninjutsu: Gale, Frost, and Quake

Sadly, Edge's new abilities are not readily available in the PSP code (see below for a
further explanation). However, all of Cecil and Rydia's magic is readily available. 
This patch adds the new spells to their list. Since characters gain levels at different
rates between the 2 versions of the game, levels are given that make sense within the 2D
version's progression. Because of the way that Complete Collection is coded, the changes
also apply to the ~Interlude chapter. They do not apply to The After Years, because TAY
uses a different EBOOT.

--------------------------------------------------------------------------------
-=Cecil's White Magic=-
Lvl	Spell
0	Cure
3	Sight
8	Libra
10*	Protect
15	Cura
19	Teleport
22*	Shell
27	Esuna
30*	Raise

-=Rydia's White Magic=-
Lvl	Spell
3	Cure
4	Sight
7	Hold
9*	Confuse
11*	Esuna
14*	Cura
16*	Raise

--------------------------------------------------------------------------------
-=Instructions for Patching=-

1. Download UMDGen (http://www.romhacking.net/utilities/1218/)
2. Open your FFIV:CC ISO.
3. Double-click on the folder [PSP_GAME]
4. Double-click on the folder [SYSDIR]
5. Click and drag the EBOOT.BIN file from this hack into the folder.*
6. You will get a prompt asking if you would like to replace the existing file. Click [Yes]
7. Save your ISO.
8. If you are using a homebrew-enabled PSP, copy the new ISO to the [root/ISO] folder.

*Note: Because of the way FFIV:CC is built, this EBOOT file cannot be played by itself. It
MUST be inserted into the ISO to work.

This patch has been tested on the PPSSPP emulator and the original PSP hardware. Other
emulators are likely to work, but it will be up to the player to figure out compatibility.

--------------------------------------------------------------------------------
-=About Edge's Ninjutsu=-
As I was examining the code, I found some interesting little leftovers that had been
dummied out. In FFIV The After Years, the list of available Ninjutsu was doubled.
With the exception of "Frost" (which is really just the White Fang item with a new
name), all of the new Ninjutsu is present and functional in the game. However, they
do not cost any MP, do not display the correct text when a character learns the
ability upon level-up, do not have help text, and half do not have the right spell
strength. If any industrious hacker wants to look into the code some more to see what
can be done, here are my notes.

ABILITY
ID	NAME		NOTES
DF	Flame		Alternate Flame spell, wrong spell strength, 0MP
E0	Flood		Alternate Flood spell, wrong spell strength, 0MP
E1	Shock		Alternate Shock spell, wrong spell strength, 0MP
E2	Gale		Wrong spell strength, 0MP
E3	Heal Pill	Wrong spell strength, 0MP
E4	Heal Salve	Seems to work fine, 0MP
E5	Restore Weed	Seems to work fine, 0MP
E6	Smelling Salts	Seems to work fine, 0MP
...
EB	Tremor		Seems to work fine, 0MP
EC	Flash		Seems to work fine, 0MP
ED	Stealth Kill	Seems to work fine, 0MP
EE	Payback Wave	Seems to work fine, 0MP

--------------------------------------------------------------------------------
Credits

Hacking - PowerPanda

Programs Used
PPSSPP - Extracting the decrypted EBOOT
HxD Hex Editor - Editing
UMDGen 4.0 - Re-inserting the EBOOT file
--------------------------------------------------------------------------------